.show {
    opacity: 1;
    transition: all 0.8s;
}

.hide {
    opacity: 0;
    transition: all 0.8s;
}